/* ===========================================================================
 *
 *       Filename:  struct_timespec_t.h
 *
 *    Description:
 *
 * - Mode: 644
 * - NOTE. NOT use "dos"
 * - Updated: 2015-04-12 11:43:51
 *
 *        Version:  1.0.0
 *        Created:  2014-11-07 16:55:35
 *       Revision:  1.0.0
 *       Compiler:  ...gcc/g++
 *
 *         Author:  Yui Wong, email: yuiwong@126.com
 *   Organization:  ""
 *        License:  LGPLv3
 *
 *	This file is is free software: you can redistribute it
 *  and/or modify it under the terms of the GNU General Public License as
 *  published by the Free Software Foundation, either version 3 of the
 *  License, or (at your option) any later version.
 *
 *	This file
 *  is distributed in the hope that it will be
 *  useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
 *	MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 *	GNU General Public License for more details.
 *
 *	You should have received a copy of the GNU General Public License along
 *  with this file.
 *	If not, see <http://www.gnu.org/licenses/>.
 *
 * ===========================================================================
 */


#if !defined(_STRUCT_TIMESPEC_T_H_)
#define _STRUCT_TIMESPEC_T_H_ (1)


/*
 * type struct timespec
 */
#if !defined(MINGW32)
# include <time.h> /* struct timespec */
#elif (! defined(_TIMESPEC_DEFINED)) && (! defined(__struct_timespec_defined))
# include <stddef.h> /* time_t ... */
struct timespec {
	time_t tv_sec;
	long tv_nsec;
};
# if (! defined(_TIMESPEC_DEFINED))
#   define _TIMESPEC_DEFINED
# endif /* ! defined(_TIMESPEC_DEFINED) */
# if (! defined(__struct_timespec_defined))
#   define __struct_timespec_defined
# endif /* ! defined(__struct_timespec_defined) */
#endif /* ! defined(MINGW32) */


#endif /* !defined _STRUCT_TIMESPEC_T_H_ */


/*
 * end of file struct_timespec_t.h
 */
